ordered
{dplyr}
Create an ordered factor
sample
{base}
Takes a sample of the specified size
factor
{base}
Create factor variables
seq
{base}
Create a sequence
bar
{base}
Used for annotations, such as “expression(paste(”-“,bar(y)))”
median
{stats}
Get median of a vector
plm
{plm}
Estimates linear panel data models (fixed effects, random effects, pooling, between, first-differences)
setwd
{base}
Set Working Directory
coeftest
{lmtest}
Inference for Estimated Coefficients
lag
{dplyr}
Shift values in a vector or time series
dnorm
{stats}
Density distribution for the normal distribution
modelsummary
{modelsummary}
Creates regression and data tables
scale_color_manual
{ggplot2}
Manually sets the colours used in a ggplot color scale to user-specified values
nrow
{base}
Get number of rows of a data frame
tibble
{tibble}
A modern data frame from the tidyverse
sd
{stats}
Get standard deviation of a vector
range
{base}
Return range of values
head
{utils}
Show first 5 rows of a data frame
summary
{base}
Obtain summary statistics or detailed regression output
lm
{stats}
Fit linear models using least squares
binomial
{base}
Family argument in glm()
glm
{base}
Fits generalized linear models
list
{base}
Create a list object
par
{graphics}
Set parameters of the plotting device
arrange
{dplyr}
Sort values of data frame according to a variable/combination of variables
read_excel
{readxl}
Read an Excel file
as.character
{base}
Coerce a vector to character
nobs
{stats}
Return the number of observations in a model object
min
{base}
Get minimum of a vector
var
{stats}
Calculate variance
ifelse
{base}
Return a or b depending on the value of test
pnorm
{base}
Returns the cumulative distribution function (CDF) of the normal distribution
vcovSCC
{plm}
Computes Driscoll and Kraay (SCC) robust covariance matrix estimators for panel models
log
{base}
log (default base = e)
order
{base}
Get indexes that will sort a vector
colMeans
{base}
Computes the means of each column of a numeric matrix or data frame
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
predict
{stats}
Generate predicted values from model objects
plot
{graphics}
Generic function from base R to produce a plot
ungroup
{dplyr}
Resolve grouping created with “group_by”
is.na
{base}
Check if a value is NA/elements of vector are NA
group_tt
{tinytable}
Grouping in tinytable
c
{base}
Combine values/vectors into a vector
rm
{base}
Remove objects
mean
{base}
Get mean of a vector
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
factor
{base}
Create a factor
mutate
{dplyr}
Create new variables
complete.cases
{stats}
Find Complete Cases
filter
{dplyr}
Filter out rows of a data frame according to logical vector
data.frame
{base}
Create a data.frame from vectors
max
{base}
Get maximum of a vector
cut
{base}
Convert Numeric to Factor
library
{base}
Load an R package
rnorm
{base}
Generate random numbers from a normal distribution
expression
{base}
Used in plots to add symbols to axes
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
quantile
{stats}
Obtain empirical quantiles of a vector
str
{utils}
Get the structure of an R object
pdata.frame
{plm}
Creates a panel data frame, the data structure used by the plm package for panel/longitudinal data
names
{base}
Get or set names of an object
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
length
{base}
Returns number of elements in an object
which
{base}
return indexes of TRUE entries of a logical vector
The end!